{include file="head" /}

{include file="menu" /}


<section id="main-content">
      <section class="wrapper">
			<div class="col-sm-8">
		      <aside class="profile-info col-lg-12">
		      <section class="panel">
		          <hr>
		          <div class="panel-body bio-graph-info">
		              <form class="form-horizontal" role="form" action="" method="post" id="formid">
						
		                {volist name="data" id="vo"}
		                  <div class="form-group">
		                      <label class="col-lg-3 control-label">{$vo.title}：</label>
		                      <div class="col-lg-6">
		                      	{if $vo.type == 1}
		                          <input type="text" class="form-control" name="value_{$vo.id}" value="{$vo['value']}">
		                        {else /}
		                        <textarea name="value_{$vo.id}"  class="form-control" cols="30" rows="10">{$vo['value']}</textarea>
		                        {/if}
		                      </div>
		                      <label class="col-lg-3 control-label">{$vo.extra}</label>
		                  </div>
						{/volist}
		                  
		                  <div class="form-group">
		                      <div class="col-lg-offset-2 col-lg-10">
		                          <input type="submit" class="btn btn-success"  onclick="return formeidt()"  value="提交">
		                      </div>
		                  </div>
		              </form>
		          </div>
		      </section>
		      
		  </aside>
		  </div>

      </section>
  </section>
{include file="foot" /}
<script>

function formeidt() {
	var formurl = "{:Url('editconf')}";
    var data = $('#formid').serialize();
    

    WPpost(formurl,data);
    
    return false;
}

</script>